package cn.tedu.spring;

import org.springframework.stereotype.Component;

@Component("phone")
public class MusicPhone implements Phone{
    public MusicPhone(){
        System.out.println("MusicPhone的构造方法被调用了");
    }

    @Override
    public String toString() {
        return "【音乐手机】";
    }
}
